package warpper;

public class IntegerDemo2 {
    public static void main(String[] args) {
        int imax = Integer.MAX_VALUE;
        int imin = Integer.MIN_VALUE;
        System.out.println(imax);
        System.out.println(imin);

        long lmax = Long.MAX_VALUE;
        long lmin = Long.MAX_VALUE;
        System.out.println(lmax);
        System.out.println(lmin);

        String str ="123";
       // int a= "123.123";不可以解析为整数
        int a = Integer.parseInt(str);
        System.out.println(a);
        double d=Double.parseDouble(str);
        System.out.println(d);
    }
}
